package com.demo.handle;

import com.demo.thread.NotifyThread;
import com.demo.thread.RebateNotifyThread;
import org.springframework.stereotype.Component;

/**
 * @Author: lantian
 * @Date: 2020/9/27
 * @Description:
 */
@Component
public class RebateNotifyHandle {

	public void doRebateNotify(String dodate, String startHour,
			String endHour) {
		RebateNotifyThread thread = new RebateNotifyThread(dodate, startHour,
				endHour);
		thread.start();
	}

	public void doExec(String dodate, String startHour, String endHour) {
		NotifyThread thread = 	new NotifyThread(dodate, startHour,endHour);
		thread.start();
	}
}
